<?php
session_start();
?>
<?php
include("../config/config.php");
$lenh = "select * from khachhang where user = '".$_SESSION["user"]."'";
$kq = mysql_query($lenh);
//hủy session 
session_destroy();
if($kq)
{
?>
<script>
location.href="../index.php";
</script>
<?php	
	
}
?>